import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'

const serviceName = '/sjsk-user-activity-service'
/*-----------社戒社康人员管理-----------*/
// 约定列表
const unitList = (params) => postAction(`${serviceName}/activity/basic/unit/list`, params)
// 督导列表

const gainAdministrators = (id) => getAction(`/sjsk-administrator-service/sjsk/administrotors/gainAdministrators/${id}`, null)
const exportActivityXlsx = (params) => downFile(`/sjsk-user-activity-service/activity/export/xlsx`, params)
export {
  unitList,
  gainAdministrators,
  exportActivityXlsx
}
